package com.inboyu.admin.domain;

import java.util.List;

public interface OperationLogRepository {

    /**
     * 保存操作日志
     * @param operationLog
     * @return
     */
    int save(OperationLogEntity operationLog);

    /**
     * 根据条件查询操作日志
     * @param storeId
     * @param operator
     * @param operationTimeStart
     * @param operationTimeEnd
     * @return
     */
    List<OperationLogEntity> findByCondition(String storeId, String operator, String operationTimeStart, String operationTimeEnd);
}
